package RPPM.dao;


import RPPM.domain.*;

import java.util.List;
import java.util.Map;


/**
 *  List<Map<String, Object>> findCourse(int stu_id)：查询当前学生课程信息
 *  String ShowStudentPayment(int stu_id):展示缴费信息
 *  Student findStudentById(int stu_id):展示个人信息
 *  void StudentPayForCours(int stu_id):缴费
 *  boolean saveCourseSign(int Cou_id, Map<String, Object> map>):签到
 *  boolean StudentAdvice(int Cou_id,String advice)：提交意见
 */

public interface StuDao {

    public boolean savePayment(Payment payment,int stu_id);//保存缴费记录


    Student findStudentById(Student toBechecked);

    List<Map<String, Object>> findCourses(int stu_id);

    List<Map<String, Object>> findCoursesByname(int stuid, String searchText);

    List<Map<String, Object>> findCoursesNotPaid(int stu_id);

    List<Map<String, Object>> searchByCouNameEX(int stu_id, String str);

    List<Map<String, Object>> findCoursesNotSign(int stu_id);

    List<Map<String, Object>> findCoursesNotAdvice(int stu_id);

    boolean saveCourseSign(int stu_id, Map<String, Object> pay);

    boolean saveCourseAdvice(int stu_id, Map<String, Object> advice, String feedback);
}